package com.magicman.openfeigndemo.demos.service.impl;

import com.magicman.openfeigndemo.demos.feignClient.DemoFeign;
import com.magicman.openfeigndemo.demos.service.FeignDemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FeignDemoServiceImpl implements FeignDemoService {

    @Autowired
    private DemoFeign demoFeign;
    @Override
    public String feignDemo() {
        return demoFeign.call();
    }
}
